package com.liang.leetcode.common.enums.user;

import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * 用户角色枚举
 */
@Getter
@RequiredArgsConstructor
public enum UserRole {

    NORMAL(0, "普通用户"),
    ADMIN(1, "管理员");

    private final Integer code;
    private final String message;
}